Avoid some portability problems by eschewing 'extern inline' functions.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 8 Nov 2011 20:05:27 +0000 (12:05 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 8 Nov 2011 20:05:27 +0000 (12:05 -0800)
commit2813640ce8937682db615c92a411c8b647970070
tree743d74d64f5329613d1b82d4025042c8471664e1
parent46fdc1ecbb575d009c24505ca7db123f389ac57b
Avoid some portability problems by eschewing 'extern inline' functions.

The trivial performance wins aren't worth the portability hassles; see
<http://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00084.html>
et seq.
* dispextern.h (window_box, window_box_height, window_text_bottom_y)
(window_box_width, window_box_left, window_box_left_offset)
(window_box_right, window_box_right_offset): Undo previous change,
by removing the "extern"s.
* intervals.c (adjust_intervals_for_insertion)
(adjust_intervals_for_deletion): Undo previous change,
making these static again.
(offset_intervals, temp_set_point_both, temp_set_point)
(copy_intervals_to_string): No longer inline.
* xdisp.c (window_text_bottom_y, window_box_width)
(window_box_height, window_box_left_offset)
(window_box_right_offset, window_box_left, window_box_right)
(window_box): No longer inline.
src/ChangeLog
src/dispextern.h
src/intervals.c
src/xdisp.c